package com.qi.spzx.product.mapper;

import com.qi.spzx.model.entity.product.ProductDetails;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Description TODO
 * @Author dingchunlin
 * @Date 2024/2/25 20:12
 * @Version 1.0.0
 */
@Mapper
public interface ProductDetailsMapper {

    @Select("select * from product_details where product_id = #{productId} and is_deleted = 1")
    ProductDetails selectByProductId(Long productId);
}
